public class demoHerit_1{
   public static void main(String args[]){
      derivedGen <Integer, String> oa = new derivedGen<Integer,String>(100,"Value is: ");
      System.out.print(oa.getDob());
      System.out.println(oa.getOb());
   }
}